package com.smart.campus.school.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.campus.common.annotation.Excel;
import com.smart.campus.common.core.domain.BaseEntity;

/**
 * 考勤组人员对象 sc_attendance_group_user
 * 
 * @author Zhihe.Li
 * @date 2020-10-21
 */
public class AttendanceGroupUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Long id;

    /** 考勤组名称 */
    @Excel(name = "考勤组名称")
    private Long groupId;

    /** 学校id */
    @Excel(name = "学校id")
    private Long schoolId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Integer userType;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserType(Integer userType) 
    {
        this.userType = userType;
    }

    public Integer getUserType() 
    {
        return userType;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("schoolId", getSchoolId())
            .append("userId", getUserId())
            .append("userType", getUserType())
            .append("userName", getUserName())
            .toString();
    }
}
